<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns:sec="http://www.thymeleaf.org/extras/spring-security">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <!-- 避免IE使用兼容模式 -->
    <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
    <meta name="renderer" content="webkit">
    <!-- TopJUI框架样式 -->
    <link type="text/css" href="/topjui/themes/default/topjui.core.min.css" rel="stylesheet">
    <link type="text/css" href="/topjui/themes/default/topjui.blue.css" rel="stylesheet" id="dynamicTheme"/>
    <!-- FontAwesome字体图标 -->
    <link type="text/css" href="/static/plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet"/>
    <!-- layui框架样式 -->
    <link type="text/css" href="/static/plugins/layui/css/layui.css" rel="stylesheet"/>
    <!-- jQuery相关引用 -->
    <script type="text/javascript" src="/static/plugins/jquery/jquery.min.js"></script>
    <script type="text/javascript" src="/static/plugins/jquery/jquery.cookie.js"></script>
    <!-- TopJUI框架配置 -->
    <script type="text/javascript" src="/static/public/js/topjui.config.js"></script>
    <!-- TopJUI框架核心-->
    <script type="text/javascript" src="/topjui/js/topjui.core.min.js"></script>
    <!-- TopJUI中文支持 -->
    <script type="text/javascript" src="/topjui/js/locale/topjui.lang.zh_CN.js"></script>
    <!-- layui框架js -->
    <script type="text/javascript" src="/static/plugins/layui/layui.js" charset="utf-8"></script>
</head>

<body>
	<div sec:authorize="hasAuthority('model:neo4j:shape')" data-toggle="topjui-layout" data-options="fit:true">
		<div sec:authorize="hasAuthority('model:neo4j:shape:list')" data-options="region:'center',title:'',split:true,border:false,bodyCls:''">
			<table data-toggle="topjui-datagrid" data-options="
				id:'devShape-list',
				url:'/model/shape/list',
				fitColumns:true,singleSelect:true,selectOnCheck:false,checkOnSelect:false,pageSize:50,
				childTab: [{id:'eastTabs'}]">
				<thead>
					<tr>
						<th data-options="field:'id',title:'ID',checkbox:true"></th>
						<th data-options="field:'name',title:'名称',width:100"></th>
					</tr>
				</thead>
			</table>
		</div>
		
		<div sec:authorize="hasAuthority('model:neo4j:shape:chart')" data-options="region:'east',iconCls:'icon-chart_pie',title:'',split:true,border:false,width:'80%'">
			<div data-toggle="topjui-tabs" data-options="
				id:'eastTabs',fit:true,border:true,bodyCls:'border_right_none',
				parentGrid:{type:'datagrid',id:'devShape-list'}">
				<div title="拓扑图" data-options="
					id:'eastTab0',iconCls:'fa fa-th',
					href:'/model/neo4j/shape/chart?label=shape&nodeUuid={id}'">
				</div>
			</div>
		</div>
	</div>
</body>
</html>